import { FC, useEffect } from 'react'
import { useAppSelector } from 'store/hooks'
import { Button } from 'antd-mobile'
import { useNavigate } from 'react-router-dom'
const TabBar = () => {
  const navigate = useNavigate()
  const store = useAppSelector((s) => s.classify)

  useEffect(() => {
    console.log('store.threeArr:', store.typeObj)
  }, [store.typeObj])
  return (
    <div className="tab-bar">
      <Button
        onClick={() => {
          navigate('/collect')
        }}
      >
        进入收藏页面
      </Button>
    </div>
  )
}

export default TabBar
